package com.nuoniu.sibanyun.service.erp;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.erp.ErpWorkProcedure;

import java.util.List;

/**
 * <p>
 * 工序管理 服务类
 * </p>
 *
 * @author 小啊刚
 * @since 2020-12-30
 */
public interface IErpWorkProcedureService extends IService<ErpWorkProcedure> {

    /**
     * 获取工序列表
     * @author 小啊刚
     * @date 2020-12-31
     */
    Page<ErpWorkProcedure> pageList(Page page, ErpWorkProcedure workProcedure);

    /**
     * 保存工序
     * @author 小啊刚
     * @date 2021-03-27
     */
    void saveWorkProcedure(ErpWorkProcedure workProcedure);

    /**
     * 删除工序
     * @author 小啊刚
     * @date 2021-06-21
     */
    void deleteById(Long id);
}
